package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Permission;

import java.util.List;
import java.util.Map;

/**
 * @description: 权限Service接口
 * @author: Kerwin
 * @date: 2020/3/8-12:00
 * @Version: 1.0.0
 */
public interface PermissionService {
    PageResult findPage(QueryPageBean queryPageBean);

    Permission findById(Integer id);

    Result edit(Permission permission);

    Result add(Permission permission);

    Result delete(Integer id);

    //wq 3.8
    Map<String,Object> findAll();
}
